<template>
	<view style="display: flex;justify-content: center;align-items: center;height: 100vh;">
      <tui-form-button text="退出登录" @click="exit"></tui-form-button>
	</view>
</template>

<script setup lang="ts">
  import { useStore } from 'vuex'
  const store = useStore()
const exit=()=>{
  store.commit('clearUserInfo')
  uni.navigateTo({
    url:'/pages/login/login'
  })
}
</script>

<style lang="scss" scoped>
	       
</style>